// 如果遇到slot 嵌套组件 只能从最外层开始样式注入修改

/* #ifdef H5 */
::v-deep uni-form {
	.form-list-item {
		.form-list-item-content {
			.form-list-item-unicontent {
				width: 100%;

				.uni-forms-item__label {
					font-size: 28rpx;
					color: #46494D;
					padding: 10rpx 0;
					height: 72rpx;
					margin-right: 10rpx;
				}
				.uni-forms-item__content {
					min-height: 72rpx;
					.uni-easyinput {
						font-size: 28rpx;
						.uni-easyinput__content-input {
							min-height: 72rpx;
							font-size: 28rpx;
							padding-left: 0 !important;
							color: #46494D;
							.uni-input-placeholder {
								color: #999999;
							}
						}
						.content-clear-icon {
							font-size: 30rpx !important;
							padding: 0 10rpx !important;
							.uni-icons {
								font-size: 30rpx !important ;
							}
						}
					}
					.input-text-align-left {
						text-align: left;
						.uni-input-placeholder {
							text-align: left;
						}
					}
					.input-text-align-right {
						text-align: right;
						.uni-input-placeholder {
							text-align: right;
						}
					}
					.input-text-align-center {
						text-align: center;
						.uni-input-placeholder {
							text-align: center;
						}
					}
					.value-text {
						display: inline-block;
						width: 100%;
						padding: 18rpx 0px;
						font-size: 28rpx;
						.placeholder {
							color: #999999;
						}
						.content {
							color: #46494D;
						}
					}
				}
				.uni-error-message {
				}
				.input-text-hidden {
					position: absolute;
					z-index: -1;
					opacity: 0;
					width: 0;
					height: 0;
				}
			}
			.form-list-item-unicontent.err-show-type-toast,
			.form-list-item-unicontent.err-show-type-modal {
				margin-bottom: 0;
			}
			.form-list-item-unicontent.err-show-type-undertext {
				margin-bottom: 40rpx;
			}
			.uni-icons {
				font-size: 40rpx;
			}
			.switch {
				display: inline-block;
				.switch-item {
					.uni-switch-input {
						width: 86rpx;
						height: 44rpx;
						margin-right: 0rpx;
						border-radius: 32rpx;
					}
					.uni-switch-input:before {
						width: 80rpx;
						height: 40rpx;
						border-radius: 30rpx;
					}
					.uni-switch-input:after {
						width: 40rpx;
						height: 40rpx;
						border-radius: 30rpx;
					}
					
					.uni-switch-input-checked:after {
						width: 40rpx;
						height: 40rpx;
						transform: translateX(40rpx);
					}
				}
			}
		}
	}
}
/* #endif */

/* #ifdef MP */
::v-deep uni-forms {
	.form-list-item {
		.form-list-item-content {
			.form-list-item-unicontent {
				width: 100%;
				.uni-forms-item__label {
					font-size: 28rpx;
					color: #46494D;
					padding: 10rpx 0;
					height: 72rpx;
					margin-right: 10rpx;
				}
				.uni-forms-item__content {
					min-height: 72rpx;
					.uni-easyinput {
						font-size: 28rpx;
						.uni-easyinput__content-input {
							min-height: 72rpx;
							font-size: 28rpx;
							padding-left: 0 !important;
							color: #46494D;
							.uni-input-placeholder {
								color: #999999;
							}
						}
						.content-clear-icon {
							font-size: 30rpx !important;
							padding: 0 10rpx !important;
							.uni-icons {
								font-size: 30rpx !important ;
							}
						}
						
					}
					.input-text-align-left {
						text-align: left;
						.uni-easyinput{
							text-align: left;
						}
						.uni-input-placeholder {
							text-align: left;
						}
					}
					.input-text-align-right {
						text-align: right;
						.uni-easyinput{
							text-align: right;
						}
						.uni-input-placeholder {
							text-align: right;
						}
					}
					.input-text-align-center {
						text-align: center;
						.uni-easyinput{
							text-align: center;
						}
						.uni-input-placeholder {
							text-align: center;
						}
					}
					.value-text {
						display: inline-block;
						width: 100%;
						padding: 18rpx 0px;
						font-size: 28rpx;
						.placeholder {
							color: #999999;
						}
						.content {
							color: #46494D;
						}
					}
				}
				.uni-error-message {
				}
				.input-text-hidden {
					.uni-easyinput {
						position: absolute;
						z-index: -1;
						opacity: 0;
						width: 0;
						height: 0;
					}
				}

				.switch {
					display: inline-flex;
					vertical-align: middle;
					width: 17%;
					height: 100%;
					align-items: center;
					position: relative;
					.switch-item {
						transform: scale(0.5);
				 		
					}
				}
				@media only screen and (min-width:481px) {
					.switch {
						
						vertical-align: super;
					
					}
				}
				@media only screen and (max-width:400px) {
					.switch {
						
						.switch-item {
							transform: scale(0.5);
							
						}
					
					}
				}
				@media only screen and (min-width:401px) and(max-width:500px) {
					.switch {
						
						.switch-item {
							transform: scale(0.55);
							
						}
					
					}
				}
				
				@media only screen and (min-width:501px) {
					.switch {
						
						.switch-item {
							transform: scale(0.9);
							
						}
					
					}
				}
			}
			.form-list-item-unicontent.err-show-type-toast,
			.form-list-item-unicontent.err-show-type-modal {
				.uni-forms-item {
					margin-bottom: 0;
				}
			}
			.form-list-item-unicontent.err-show-type-undertext {
				.uni-forms-item {
					margin-bottom: 40rpx;
				}
			}
			.uni-icons {
				font-size: 40rpx ;
			}
		}
	}
}

/* #endif */
